#include<stdio.h>
void swap(int& a, int& b){
    a = a ^ b;
    b = b ^ a;
    a = a ^ b;
}
int main(){
    int a=1;
    int b=2;
    swap(a, b);
    printf("a = %d \n b= %d \n", a, b);

}